package com.spring.dao;

import com.spring.config.MapperBase;
import com.spring.entity.Yuangong;
import org.springframework.stereotype.Repository;

@Repository
public interface YuangongMapper extends MapperBase<Yuangong> {
    //通过员工工号和密码获取员工
    Yuangong login(Yuangong yuangong);
    //通过员工工号获取员工
    Yuangong selectByGongHao(Yuangong yuangong);
}
